<%@page import="bean.MemberVo"%>
<%@page import="bean.MemberDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>view</title>

<link rel="stylesheet" href="./css/member.css">
<script src="./js/member.js"></script>

</head>
<body>
<jsp:useBean id="vo" class="bean.MemberVo"></jsp:useBean>
<jsp:setProperty property="*" name="vo"/>
<%
MemberDTO dto = new MemberDTO();
dto.setVo(vo);
MemberVo v=dto.selectone();
String g ="";
if(v.getGender().equals("f"))
{
	g="여성";
}
else
{
	g="남성";
}
%>
<h1>VIEW</h1>
아이디 : <%=v.getMid() %> <p/>
이   름 : <%=v.getIrum() %> <p/>
닉네임 : <%=v.getNickname() %> <p/>
생   일 : <%=v.getBirth() %> <p/>
성   별 : <%=g %> <p/>
연락처 : <%=v.getPhone() %> <p/>
email : <%=v.getEmail() %> <p/>
사  진  : <%=v.getPhoto() %> <p/>





<input type="button" value="목록으로" id="btnlist">
<input type="button" value="회원입력" id="btninput">
<input type="button" value="수정" id="btnmodi">
<input type="button" value="삭제" id="btndel">


<script>viewinit();</script>
<form method="post" action="index.jsp?inc=./member/delete_result.jsp" name="hiddenfrm">
<input type="hidden" name="mid" value="<%=v.getMid()%>">
<input type="hidden" name="photo"value="<%=v.getPhoto()%>">
</form>

</body>
</html>